package com.bootdo.program.weixin.dao;

import com.bootdo.program.weixin.domain.WxUserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 小程序用户表
 * @author guoyunfei
 * @email 2549789059@qq.com
 * @date 2021-07-22 20:22:41
 */
@Mapper
public interface WxUserDao {

	WxUserDO get(Integer id);

	WxUserDO getOpenId(String openid);

	List<WxUserDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(WxUserDO wxUser);
	
	int update(WxUserDO wxUser);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
